package rbac

import (
	"github.com/gogf/gf/net/ghttp"
	rbac_api "kardou/app/system/rbac/internal/api"
)

func InitRoute(group *ghttp.RouterGroup) {
	group.Group("/rbac", func(group *ghttp.RouterGroup) {
		group.GET("/user_list", rbac_api.User.List)
		group.POST("/user_create", rbac_api.User.Create)
		group.POST("/user_save", rbac_api.User.Save)
		group.POST("/user_status_save", rbac_api.User.StatusSave)
		group.POST("/user_pwd_reset", rbac_api.User.PwdReset)
	})
}
